package com.tanhua.sso.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;

/**
 * @description:
 * @author: Administrator
 * @date: Created in 2021/2/4 20:30
 * @version: 0.0.1
 * @modified By:
 */
@Data
public abstract class BasePojo {
    @TableField(fill = FieldFill.INSERT)  //MP自动填充
    private Date created;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updated;
}
